<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const arr = ["isCss", "isJs", "noPlay", "vb"];
      // const r = arr.find(function (v, i) {
      // const r = arr.filter(function (v, i) {
      //   return v.startsWith("is");
      // });
      const r = arr.filter((v) => v.startsWith("is"));
      console.log("返回值", r);
    </script>
  </body>
</html>
